import http from '@/utils/http.js'

// 获取用户信息
export const userInfo = (data) => {
	return http('AddUser', 'POST', data)
}

// 绑定用户手机
export const bindPhone = (data) => {
	return http('BindUser', 'POST', data)
}
//获取用户VIP列表
export const vipList = () => {
	return http('GetVip', 'POST')
}
//获取充值配置
export const payConfig = () => {
	return http('GetPay', 'POST')
}
//购买VIP
export const payVip = (data) => {
	return http('PayVip', 'POST',data)
}
//充值
export const userPay = (data) => {
	return http('UserPay', 'POST',data)
}
//日志记录
export const userLogList = (data) => {
	return http('UserLogList', 'POST',data)
}
//二维码链接数据
export const recommendAPI = () => {
	return http('GetRecommend', 'POST')
}
//推广表格数据
export const gradeAPI = () => {
	return http('GetGrade', 'POST')
}
//代理数据
export const actingList = () => {
	return http('ActingList', 'POST')
}
//密码登录
export const passLogin = () => {
	return http('PassLogin', 'POST')
}
//验证码登录
export const codeLogin = () => {
	return http('CodeLogin', 'POST')
}
//验证码登录
export const sendCode = (data) => {
	return http('SendCode', 'POST',data)
}